Open Arrange / delete pages and choose your PDF. All pages appear as small pictures.
In the right panel find Custom page numbering. Set the Format (for example Page {page} of {pages}), the Position, and tap Add numbers.
When the pages look right, tap Download at the top.