Use up, down, left and right arrows to walk through the maze. Along the way, you must collect all pink balls, and avoid the red monsters - they will send you back to the beginning of the game. The way out is shown by the arrows.
First background from Wallpaper cave: http://wallpapercave.com/pacman-background