Everyone has different ways to keep tempo. I count in my head when I used to do tap, or now if I'm into a song my left leg counts the beat. It's hard though as if a song or rhythm is complicated its easy to speed up without noticing. Or if people are clapping along and off tempo you can easily end up moving to that tempo over the original.