Keynote
Keynote User Guide for iCloud
Add text inside a shape in Keynote for iCloud
Select the shape, then type your text.
In the Format sidebar on the right, click an alignment button to align the text horizontally or vertically.
To change the font, size, color, and more, use the other controls in the sidebar.
See Change the font, size, style, or color of text in Keynote for iCloud.
You can also fill shapes with color, gradients, or images, or place an object inside a shape so it appears inline within the text.
Thanks for your feedback.