Replace serial monitor input with matrix keypad

Update:

Tried that. still the same problem. I can see the entered value in the serial monitor but it's not being taken as TravelX input.