Use the left arrow key to move left, The right arrow key to move right, The up arrow key to move up, The down arrow key to move down.
If you don't want to hi the crab, just stay down. Try to beat my high score of 125!