Two Italian banks have proposed a deal to settle shareholder lawsuits as they try to raise billions of dollars to cover bad loans.