Indian PM Narendra Modi and Malaysia's Anwar Ibrahim inked 11 agreements and pledged to deepen their collaboration on semiconductors.