The officials say the explosive device had been attached to a motorcycle which had been parked by the side of the road .