India, Hungary back global legal framework to fight terrorism