The easiest would be to use an optocoupler; you could drive the opto LED thru' a resistor connected to the switched output of the motion sensor, and the isolated output could then drive the PIC.

Regards,

Anand