India A slumped to 129/6 before Tilak Varma and Shahbaz Ahmed revived the chase with a century stand, but Pakistan A picked up the win by 48 runs.