Use your arrow keys or [W,A,S,D] keys to navigate pacman.
To pause / resume the game press [SPACE] or [ESC] or just click into the game area.
Use swipe gestures to navigate pacman.
Alternatively use the Arrow Buttons underneath the game area to navigate pacman.
To pause / resume the game, touch the game area once.
Click to Play
If you understand German you can also read my blogpost about this site: "Pacman in HTML5 Canvas".