Testing gravity with gravitational waves x electromagnetic probes cross-correlations