Both sentences are correct BUT in different time forms:
"Limpiaban" is in 3th person prural of imperfect "pretérito"
"Limpiando" is in "Gerundio", normaly with the auxiliary verb "Estar", in this case "Estaban" (prural "Estar" form)
Both mean exactly the same