can I use a momentary button on a analog pin?

The analog pins can be used as digital pins, starting with 54 and going up (or A0 to A15).