What else you need to know??? 90% of what you need is in the link i post here. You have
  • 1. the routine for 4x4 keypad
    2. all you need to convert from PORT reading to be display on LCD
    3. LCDOUT example.

Begin to display your keypad on the LCD, once it's done... you'll only need to play with variable. That's it

CODE EXAMPLE should be a place for CODE EXAMPLE not for CODE REQUEST IMHO.