Hi,

Porta is normally set to comparator.
Use this:

CMCON=$07 'NO comparator on PORTA

and pins become bidirectional.
Read carefully the datasheet and how to set mclr pin.

bye
roberto