Leonardo, sorry i don't have Proteus, will be faster if you tell me wich PIC and how your keypad is attach to it.