I am using the same ports described here for the LCD but on a 16F870 (28 pin DIP).
http://rentron.com/PicBasic-LCD.htm

The LCD our routine uses the RB3 for the enable and pins RA0-RA3 for the data to the LCD. I'd like to use the rest of the ports on B (RB0-RB2 & RB4-RB7) for inputs and outputs and maybe a couple on Port C also.

I want to examine 4 opto outputs (4 PIC pins) checking for AC and DC along with Current X-formers or sensors (Hall effect / Allegro) for each. I want to output the condition of the AC and DC to the LCD mode based on those conditions. I want to use a switch to force one mode or the other (AC/DC) and drive relays based on what's available at the opto and or switch input. AC/DC/Auto select.