Pakistan and Bangladesh have agreed an initial deal to set up a joint investment company for sectors such as textiles, readymade garments and agriculture, according to press reports.