Three injured in explosion in UP