That's why most 'proper' water butts come with a lid. The mozzies can't get into the butt to lay their eggs in the water. If you don't have a proper lid, you could fix a piece of polythene sheet or similar, over the top of it, to keep insects out.