I had a similiar problem. Turned out I was configuring registers wrong. I notice some of the pins that you are using can also be analog. You need to make them digital for the LCD command to work. Try making ANSEL = %11111111. I can't remember if %00000000 is analog or digital, but I thought it was analog.