You need to enable Digital Inputs on the Analog pins.

;_16F1826_
ANSELA = 0
ANSELB = 0

;_18F1320_
ADCON1 = $7F

;_18F2525_
ADCON1 = $0F