Thermal and non-thermal emission in the Cygnus X region