Sri Lanka's government said on Sunday it would impose a "temporary" social media ban in the wake of the blasts.