Chess clocks sit by the board, are set to the time limit for the game, and count down. Each player's time is independent; after you move you press a button and your clock stops and your opponent's starts.
https://en.wikipedia.org/wiki/Game_clock
[ Edited for grammar and readability. ]
My question may be rather retarded but, why do chess clocks have to look like a clock on the wall? Are you supposed to set it according to the time of day before playing a game?