Before worrying about the current drawn, you need a circuit that works. With the circuit you show, the input is floating when the the switch is open. If the micro has pulldown you can enable, and you enable them, the circuit would work, otherwise, it needs a pulldown resistor (from the GPIO...