beat time

[beat time] {v. phr.} To follow the rhythm of a piece of music by moving one's fingers or feet.

Jack was beating time with his foot during the concert, which annoyed his neighbor.