Exhibition curated by the historian William Dalrymple celebrates the artists behind the works of flora, fauna and daily Indian scenes