Button with led (how to connect?)

Yes, attached drawing should work great. Note that hardly any current actually flows through the 10k resistor when the switch is off, but it does establish a legal electrical 0 volts to the input pin to prevent the infamous 'floating input pin' condition.

Good luck;

Lefty