You interface a digital device, your I/O must follow this requirement.

ADCON0 refer to the analog to digital converter, not a bad idea to do so. Look a bit later in the datasheet (ADCON1) and you'll discover to how enable/disable it on specific I/O.

If my memory serves me well, i think you can also disable PORTB analog in the config fuses as well.