How can I get rotation in the X and Y Axis in object mode?
Shift+Z after entering rotation mode will bound the rotation to only the x and y axis.
In general, Shift+axis letter will bind the translation to all axes apart from the chosen axis.