As a prerequisite, both processors should use the same PWM clock source (or same main clock) and identical frequency dividers. Then the problem reduces to resetting both PWM timers simultaneously or resetting one depending a sync signal of the other. There should be at least one signal connection providing the sync feature, everything else has to be done in software.