You can lower the resistance of the pullups to make the inputs less susceptible to noise. 1K is probably the practical minimum resistance. A 0.1uF (or maybe higher) cap across the switch can also help to filter noise away from the switch input (AKA hardware debounce).