Topological superconductivity in skyrmion lattices