Buttons to keypad

Hey everyone. I am very new to programming arduinos. I am trying to replace buttons with a keypad. Does anyone have any idea how I could go about doing this? Here is the code that I am currently working with.

Midterm.ino (10.5 KB)

Find a keypad that you like and learn how to use it