People caught carrying a machete could face up to two years in prison and a hefty fine as the Victorian government moves to outlaw dangerous weapons.