I think you should break-down this project into little stages. One of the most important is your Keypad entry routine - since the whole project rotates around that. To give you a helping start, tell me what kind of keypad is it... one of those where you scan Rows/Columns or one of those with a common pin and you then have one invidual pin for each button.