Investigations revealed that the accused had learnt how to make crude bombs by watching YouTube videos