You only NEED one light. I'd definitely prefer two, bars+helmet light, but for sure, you can get buy with one for road riding.
For hardcore mtn biking, you will NEED two. But one is sufficient for most purposes if you have to go with a minimalist setup.