Try using "get axis" and get the MouseX and MouseY axis (By Typing MouseX into the Axis name field), and save the values as variables, then use those variables to "rotate" the spine joint".
You might need to play around with the multiplier to get the right speed feeling.