Magnetism and activity of planet hosting stars