To rotate text in Keynote you need to add text to the slide.
Click the text and squares should appear on the right and left of the text.
Hold down the
⌘ command key and move your mouse over one of the squares. The cursor should change to a rotating icon.
And while continuing to hold down the
⌘ command key, rotate the text as needed.