to remove the gear itself you need to loosen a little grub screw (allen key to do this should have come with printer) the gear then just slides off the shaft and you can clear it with a craft knife.

I found a combination of craft knife and small paint brush got it completely clean in a few minutes.