I hate to write this but Read The Fine Manual. Sorry but you really have to. This PIC has analog comparators that need to be set prior at the top of your program. Something like:

cmcon = 7 ' to disable portA comparators
vrcon = 0 'disable reference voltage output at porta.2

Also don't forget to use some DEFINE's (in capital letters!) to tell PBP what LCD you have and where it is connected (see at LCDout on page 95 of 3.04 manual version).

Ioannis