7-segment display that changes number depending och which button is pressed

Right now i have looked on tutorial for how to have 7-segment display that changes number every 1 second and i have also been able to use a button like a counter so every time i press it it will go one number up. The thing is i have no idea how to get more buttons and how to make each button project a specifik number and i havnt been able to find any tutorials that explain how to do it and my knowledge to figure it our myself yet. Any guidance would help!