Why would you want to put page numbers in an eBook? If I change the font size on my Nook, the number of pages changes.
You can format a ToC using Word bookmarks and hyperlinks, but you need to ensure you delete all hidden bookmarks that Word inserts. Formatting a Toc will make you pull your hair out. Try just putting in Chapter 1, Chapter 2, etc. using a Heading style at the beginning of each chapter and let the epub converter create an NCX file. It will save you an ulcer.
Been there, done that
Yeah, page numbers for an ebook is a bad idea. But an even easier way to add your TOC is to use this program. Super easy to use and makes a great TOC with almost no work.