Two people have been injured in a series of blasts inside the Mahabodhi temple in Bihar's Bodhgaya district.