PIC16F877A: Transmitting data but not receiving from Bluetooth module
The HC-05 Bluetooth module runs off a 3.3V supply. If you're running your PIC off 5V then you'll need to level-shift the module's 3.3V output signal to a 5V signal input to the PIC. Figure 6 in the product guide manual:

http://www.mcu-turkey.com/wp-content/uploads/2013/01/HC-Serial-Bluetooth-Products-201104.pdf

...shows how to do that with a couple of transistors.