Hi @Geekln, and welcome!
Check out this thread.
For rotation, you can do the following -
this.entity.rotateLocal(x, y, z); //Without physics
//or
this.entity.rigidbody.applyTorque(x, y, z); //With physics
To learn how to use mouse input in PlayCanvas, check out this tutorial.
Hope this helps!