Modifying the electronic properties and magnetic interactions of the two-dimensional material silicene