What you want is to get its current x, which in expression form is sprite.x.
Then the simplest way to move it would be to use the action set x.
So if you were to set its x(sprite.x) to sprite.x+1, it would move the sprite 1 pixel to the right.
Your condition should be pretty obvious once you add the keyboard object.