Hi

Did you set the ansel register?

See the data sheet for which bits control your I/O pins

Code:
ANSEL = %00000001 'for digital set to 0 and for analog 1
also post your code so we don't have to guess