As I'm reading through the forum, I see people saying they travel 20 mph or 12 mph, etc. How do you know how fast you are going? Are there bikes with odometers?

Also, how do you know how far you've ridden? Do you go home and Googlemap it, or is there a program online people use to figure out mileage?