After Purchase of business by A Ltd the shareholders of B ltd have to be given Purchase Consideration, which is usually made by way of issue of shares.
Directors in the capacity of shareholders will receive shares.
Accounting entries can be referred from any CA Final Book of Accounts.