Certified GKH Gardening Expert
You can trim off the dead hydrangea heads but be careful not to cut too far back on the stem if your hydrangea blooms on old wood (previous season's growth) as many of the mopheads do. If you look closely, you can see the buds forming. Only trim up to the buds.
Here is more information on pruning and deadheading: