To add to Nigel's answer:
The voltage can be anything above around 0.7V, but the base current must be limited to a reasonable value by a resistor in series with the base.
If you are switching something with the transistor, the base current needs to be at least (load current / worst case hFE).
eg. If the transistor has a worst case gain of 50 and you want to switch 200mA, the base current must be at least 4mA;
10mA is still a safe, low value and would be OK.
For 10mA with a 2V signal, there would be around 1.3V across the resistor, as the base conducts at about 0.7V, so 1.3V / 0.01A = 130 Ohms.
Either 120 or 150 Ohms would be near enough for that.
If the controlling signal does not actively switch to 0V when it's off, also add a higher value resistor between the base and emitter of the transistor to eliminate any leakage and ensure it turns fully off.
10K should generally be OK for that.