You can purchase aftermarket odometers/speedometers for regular bikes. I assume they would also work on an exercise bike if it has a real bike wheel (not a magnetic wheel or a fan wheel).
"Google" bicycle odometer or stop by one of the bike shops in your area to see if they have something suitable that would work.
Good luck!