The code in the Original Post seems to have two setup() functions - how can that work?
What pins is the Bluetooth module connected to?
It will be easier to debug your program if you use SoftwareSerial to create an extra serial port for the HC05 and leave the HardwareSerial port for messages to the Serial Monitor (and for uploading programs).
Have a look at the examples in Serial Input Basics
...R