Move cursor to center of some selected geometry/faces
In Edit Mode

Select the faces.

Press ShiftS and select cursor to selected, that will put the cursor at the center of the selected faces.

Switch to Object mode (Tab)

Select Object>Transform>Origin to 3D cursor (or CtrlShiftAltC).



For 2.8 there is no keyboard shortcut. Use the menu Object > Set Origin.