Press the left arrow key to go left. Press the right arrow key to go right. Press the Z button to jump.
Episodes done: 1, 2, 3, 4, 5. Credit to Nintendo and Griffpatch.