If the PIR detectors are located a distance away from the 12F675 it is better to use an optocoupler in place of the transistor. This is to eliminate noise pickup.
Agreed. NEVER leave the base of a transistor floating. Always reference it to either GND or Vdd via a pull up/pull down resistor. But as colin55 mentioned above, the transistor isn't even needed.