Inpainting Galactic Foreground Intensity and Polarization maps using Convolutional Neural Network