If you want to enable the internal pullup resistors you can do this in setup.
pinMode(myInputPin, INPUT_PULLUP);