Was God flesh and bone.did he have a body?
You have framed your question in the past tense, but we do, in fact that God presently has a body of flesh and bone. From canon: D&C 130:22 "The Father has a body of flesh and bones as tangible as man's..."
Was he mortal like we are now?
A prophet once said something like "As man is God once was / As God is man may become." This statement is not in our canon.
Did he have a heavenly wife or a mother, as some of you say ?
I'm unaware of any direct statements that say God had a Heavenly Mother (or Father for that matter).
Regarding a Heavenly Wife:
The Family, a non-canon statement issue by the general leadership of the Church, states that we are children of a Heavenly Father and Heavenly Mother.
Did he have, produce, procreate Jesus through intercourse?
There are no statements in the canon that refer to this. We know God created our spirits from something referred to as "intelligences." However, "how" spirits were created is not discussed.
From the canon: Abraham 3: 21 I dwell in the midst of them all; I now, therefore, have come down unto thee to declare unto thee the
works which my hands have made, wherein my
wisdom excelleth them all, for I
rule in the heavens above, and in the earth beneath, in all wisdom and prudence, over all the
intelligences thine eyes have seen from the beginning; I came down in the beginning in the midst of all the
intelligences thou hast seen.
22 Now the Lord had shown unto me, Abraham, the
intelligences that were organized before the world was; and among all these there were many of the
noble and great ones;
23 And God saw these souls that they were good, and he stood in the midst of them, and he said: These I will make my rulers; for he stood among those that were spirits, and he saw that they were good; and he said unto me: Abraham, thou art one of them; thou wast
chosen before thou wast born.
24 And there stood
one among them that was like unto God, and he said unto those who were with him: We will go down, for there is space there, and we will take of these materials, and
we will make an earth whereon these may
dwell;
Were God's sons Jesus and Lucifer through this relation?
By "relation" I am infering you mean "sexual relation." As stated above, the canon does not make any such statement. Lucifer's spirit would have been created from the same "intelligences" mentioned in the scripture above. Indeed, he may have even been one of the "noble and great ones." However, he is fallen.
Did God have a father and a grandfather ?
I am not aware of any statement in canon that says this.