Using the Keypad library with the adafruit 1x4 membrane keypad

YEs. The analog inputs can be used for digital input. You can declare them either way, no difference.