You need to find out the type of motor fitted to the bike. If it is an AC motor, then the frequency of the supply will yield a measure of speed. If it is a universal motor with brushes, then you will have to devise some speed measure. If it is a DC motor, then motor voltage could be used.
The...