ADCIN 0 should for sure read AN0. Do you have your analog input connected to pin #2 on
your 16F874A?

If so, which version of PBP are you using?