If you search the web, you can find many button matrix examples... You can have as many as 64 buttons with only one I/O pin...
It all depends on what you want to do with them... But, usually, a button is not used on analogue pins... As they have only 2 states...