Press the right arrow key to to move right. And press the left arrow key to move left.
Well , it's pretty simple. I just copied a tutorial. And if you want me to add stuff just comment for ideas .