This shows how to rotate and object using key strokes.
First, drag your object from Assets to the scene.
Second, attach a new script.
Add Keycode type variables to the script and designate corresponding keys in the Inspector.
Use eulerangles to perform the rotation.