India and Brunei agreed to boost cooperation in defence, space, trade and investment, food security and in several other areas, as Prime Minister Narendra Modi held bilateral talks with Brunei Sultan Haji Hassanal Bolkiah during his two-day visit to the southeast Asian country.