The EU needs a huge investment in infrastructure if it is to deliver green, cheap and secure energy, peers claim.