Maharashtra plans to build 8 lakh affordable homes in five years, announced Deputy CM Eknath Shinde during a lottery draw in Thane.