Use left and right arrow keys to move left and right (duh) and up or space to jump (duh). I put lots of comments in the project editor page, so look there for the tutorial of how it works.
This is slightly not as good programming as this project: http://scratch.mit.edu/projects/3275401/ This project does NOT use the username block, even if it says. I know that sometimes it says that is uses the username block, but it doesn't.