Chandra and ALMA observations of the nuclear activity in two strongly lensed star forming galaxies