Please go to
http://picbasic.com/resources/samples.htm#x1pbp

Then select keyx.bas

Here you can see the program to display key number on LCD.

When I press 1 and 2 together 1000 should appear on the
LCD display.

When I press 1 should increase by 1.
When I press 0 should decrease