Check the data sheet but if I remember correctly ADCON1 is the register to set on that PIC.
ADCON1 = %01111111
makes all digital.