How to connect matrix keypad ??

Hi,
I want to ask how to connect a 4*4 matrix keypad (10 pin) with a circuit which has two wires for input. Circuit can be found at:-

Any help will be highly appreciated.
Mridul Agarwal

You're trying to make it a wired remote instead of one controlled by DTMF tones through a cellphone?

first you need to create a circuit which produce the same frequency signal as generated by the cellphone keypad.
that circuit has 10 input pins and 2 output pins, one for signal and other for ground.
these two can be connected to your circuit.
but this is useless for this circuit as it is meant for wireless purpose and uses the cellphone keypad.
if you want it to be wired you need to modify your circuit which will be lot easier