There are quite a number of clocks that can be stuck on bikes, varying from quite expensive aluminium analogue clocks, to cheap digital ones.
I used to have a cheap digital one stuck on with a piece of velcro which worked fine, but when the cold weather came along, the display used to disappear !
Bike computer sounds a good idea - that way it'll be waterproof