Tapping electrical energy from a nuclear technology is vey much different from an explosive nuclear bomb or an atomic bomb. A nuclear reactor generating electricity is huge and also cheap(the cost of electricity ,I mean) but it involves a lot of alloy metal spare parts which India do not possess and it also means newer,latest technologies with highly enriched nuclear fuel etc., So an atom bomb is lot easier to manufacture than a nuclear reactor to produce electricity.