There are proper motorcycle spring compressors available to remove springs from the shockers which is what I think you want to do?
I removed mine for cleaning without a proper spring compressor, it takes a little time but here's what I done:-
Remove the rear wheel and then jack up the swinging arm until the shockers are fully compressed.
Use fine grade wire rope and small 'U' clamps the correct size for the rope and attach two bits of rope from top to bottom on each shocker holding the springs fully compressed.
Lower the jack and remove the collets from the top of each shocker, remove the shockers from the bike and then remove the springs. Carefully loosen the wire rope on each spring and release the spring tension.
Shockers and springs can now be cleaned properly.
To reassemble use a normal auto siccor jack and piece of wood.
Position the spring, jack and block of wood across a door way on the floor between the door frames.
With the spring against one side of the door frame and the jack against the other side and a piece of wood filling the gap in between raise the jack until the spring is fully compressed and attach the wire rope, refit to shocker and remove rope.
Or avoid possible injury and buy a proper spring compressor