The objective is to get stuff off the brown rectangle that represents your bed (box? catmat? designated sleeping zone?) so that you can comfortably sit within it. As is common with all members of the cat family, pressing X will cause the cat to change which paw has the claws out.