Use the arrow keys to rotate the cube on x and y axises. Use the z and x keys to rotate it on the z axis.
Huge credit to r2dav2