1. From the Insert Menu at top of Google Doc, Choose Page Number.
2. Choose the second box at the top (Title page and page number in top right corner).
3. Make sure the font for your page # matches the text of your paper. Often, Times New Roman 12 or whatever your teacher has specified you to use.
Source: Gtricks